git

GitHub/Bitbucket

Fork

Gör du i webbinterfacet. Sedan klonar du din fork till din dator.

git clone https://github.com/your-username/forked-repo.git

Lägg till upstream

git remote add upstream https://github.com/user/repo.git

Hålla en fork uppdaterad

git fetch upstream
git rebase upstream/master
git push origin