- Clone to your local repository.
- Create an empty repository on Github for your code.
git clone https://github.com/Neckkatie/example.git
- Add a remote to your local repository.
git remote add https://github.com/Neckkatie/example.git
- Push some work and tell git to use this as the "default" upstream repository.
git push -u origin master