Process to get your code up on the server:
git init
( If the repo doesn’t already exist)git add .
(adds all the files to the repo)git commit -m "name"
commits changesgit remote add origin https://github.com/<username>/<reponame>.git
(if you haven’t set the URL yet)git push -u origin master
pushes the code to the server
To remove cached files:
git rm -r --cached .