Error: Git log --oneline in reverting migration (Django part - 1)

When I type git log --oneline in terminal, it show not a git repository (or any of the parent directories): .git

How to resolve this error? Please Help me.