Create repo on relevant site.
Move to project dir, then:
git init
git pull https://somedomain.com/someuser/somerepo.git
Edit .gitignore:
vim ,gitignore
.DS_Store
.idea/
folder/settings.py
Add, commit, add origin and push to master:
git add .
git commit -m "Initital commit"
git remote add origin https://somedomain.com/someuser/somerepo.git
git push -u origin master