Make a copy of a remote repository
git clone <repo-name>Navigate to working directory as in linux
cd <repo-name>Set up the ssh-agent
ssh-agent -sssh-addCheck the status of your repository
git statusPull remote changes to keep local repo up to date
git pullAdd your local changes
git add <file(s)>Commit your changes
git commit -m "<useful comment on your changes>"Push your changes to the remote repository
git push --dry-rungit push <file(s)>Other useful command
git clone <repo>Creating a new local branch and push to GitHub:
git checkout -b <branch>git push -u origin <branch>Deleting a branch
git branch -d <branch>git push origin --delete <branch>Git tutorial: ​https://www.atlassian.com/git/tutorials/
Git and svn: https://www.atlassian.com/git/tutorials/migrating-convert/