command to check git commit history

why do we use m in git commit

what is the main scope of using all the git commands

what are the git stages?

what git commit does?