Just a quick tip for creating a new repo with existing files.
Change to your project directory
Initialize the local directory as a repo
Add all files to the repo
git add .
Write your first commit message
git commit -m ‘First commit’
Tie your local files and remote repo together. For the url, an example would be ssh://email@example.com/daevien/nixgeek.git, but the method to find it varies depending on your provider. Bitbucket shows it at the top of the main page and GitHub shows it along the right side.
git remote add origin repo_url_here
Have git verify it can connect to the remote repo
git remote -v
Push your initial commit to the remote url
git push origin master
Thats it, your repo is created and initial update complete. Now to continue your content and update it as needed.