https://gist.github.com/mindplace/b4b094157d7a3be6afd2c96370d39fad
-
Create local repo and all the files.
-
Server terminal - Git tracking local repo. -git init -git add . -git commit -m "initial commit"
-
GitHub - Create nnew repo same name as local repo name.
-
Server terminal Connect local repo with the empty github repo created above. use git push -u origin master