Using Git to manage your code is an essential skill to have. The commands below show how to set up Git, set up a repository, and push files to it remotely.
sudo su apt-get update apt-get install git
Navigate to the Directory you want to use with Git
git init git add . git commit -m "initial commit"
Go to github, login and copy the URL for your project, then paste is customize the command below.
git remote add origin https://github.com/ryangeddes git remote -v #If origin URL is wrong you can change it with: #git remote set-url origin https://github.com/you/your.git git push -f origin master