cd to the project directory then execute the following commands
git init git remote add origin <github repository location> git config --add branch.master.remote origin git config --add branch.master.merge refs/heads/master
cd to the project directory then execute the following commands
git init git remote add origin <github repository location> git config --add branch.master.remote origin git config --add branch.master.merge refs/heads/master