- git init - initialise empty git repo
- git status - check the status of current repo
- git add - add current file to staging
- git add . - add
- git commit -m - for commiting the changes
- git checkout - to revert the changes to last stage or commit
- git checkout . - to revert the changes in current directory to last stage or commit