Racial discrimination from the perspective of people with migration and refugee backgrounds

What is the General Equal Treatment Act (or AGG, Allgemeine Gleichbehandlungsgesetz) and what does it do for us?
What can I do when I experience discrimination?
How can I act in the moment when I observe racist discrimination?