Git | Frequently used commands

To check for any changes in the files.

View Change history and comments.

To see the change history per file

See changed files history

Commit the change

To revert back a commit

To create a clone of your local repository

To create a bare clone(A clone with the .git database alone) as a central repository

To see remote branches

Add/remove a remote branch

Push local changes to remote branch


If you want to start tracking a remote branch with git status command, run below command.


Continue reading “Git | Frequently used commands”