Basic Git Commands

To initialize a project as a Mastergit init
Current status of the foldergit status
add file to the staging area in the repositorygit add .
commit the changes to the git repositorygit commit -m"comment here"
see a brief log of commitsgit log --oneline
checkout the file from an older commitgit checkout <commit> <file>
Unstage a staged file, but leave working directory unchangedgit reset HEAD <file>
reset the staging area to the last commit without disturbing the working directorygit reset