1. Clone your fork: git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git 2. Add remote from original repository in your forked repository: cd into/cloned/fork-repo git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git git fetch upstream
#Adding an existing project to GitHub using the command line Simple steps to add existing project to Github. 1. Create a new repository on GitHub. In Terminal, change the current working directory to your local project. ##2. Initialize the local directory as a Git repository. git init