Git: error: src refspec master does not match any.

I tried to commit and push one of my projects to Git repository, but met the error: error: src refspec master does not match any. error: failed to push some refs to ‘https://xxxxx.com/repo’ I found a correct way to initialize connect local git repository and connect it with remote one. 1. $ cd /path/to/project 2.… Continue reading Git: error: src refspec master does not match any.