- 
Abra TerminalTerminalGit Bash. 
- 
Liste o repositório remote configurado no momento para sua bifurcação. $ git remote -v > origin https://github.com/YOUR-USERNAME/YOUR-FORK.git (fetch) > origin https://github.com/YOUR-USERNAME/YOUR-FORK.git (push)
- 
Especifique um novo repositório upstream remoto que será sincronizado com a bifurcação. git remote add upstream https://github.com/ORIGINAL-OWNER/ORIGINAL-REPOSITORY.git
- 
Verifique o novo repositório upstream especificado para a bifurcação. $ git remote -v > origin https://github.com/YOUR-USERNAME/YOUR-FORK.git (fetch) > origin https://github.com/YOUR-USERNAME/YOUR-FORK.git (push) > upstream https://github.com/ORIGINAL-OWNER/ORIGINAL-REPOSITORY.git (fetch) > upstream https://github.com/ORIGINAL-OWNER/ORIGINAL-REPOSITORY.git (push)
Configurar um repositório remoto para um fork
Você deve configurar um remoto que aponta para o repositório upstream no Git para sincronizar alterações realizadas em um fork com o repositório original. Isso também permite sincronizar alterações feitas no repositório original com a bifurcação.