I tried to revert a migration using git --log oneline command but it did not seem to work. How to go around this?

I tried to revert a migration using git --log oneline command but it did not seem to work. How to go around this?

If you have installed git
Then initialise it first
Using command git init