- git checkout -b branch-name origin/branch-name
- git remote add origin https://github.com/username/reponame.git
- git remote -v
- git branch --remote # to see all the branches from remote
- git checkout branch-name # checkout a branch from remote
- git remote rm destination # delete remote
- git remote rename origin destination # change remote name from 'origin' to 'destination'