Here are step by step process to upload your project on git server:
1. First you have to installed git software on your system
2. Open cmd or git bash // From run as Administrator
3. Navigate to project folder which you want to upload
4. Login to your git account and create a repository {e.g: testproject}
5. Type below commands one by one
git init
git add .
git commit -m “Upload test project “
git remote add origin https://github.com/{your username}/testproject.git
git push -u origin master
6. It will ask for username and password, type your login credential here and enter
7. Check or refresh your created repository on your github account, it will reflect your all files you have committed.