git commands

 


git init       : initialises a git repository in the current folder
git status     : shows the status of the git repository
git add        : adds a file to the git repository
git rm         : removes a file from the git repository
git commit     : commits all changes (add a message with -m "...")
git add remote : adds a remote repository
git pull       : pulls the remote repository to the local repository
git push       : pushes commits from the local repository to the remote repository