- Create a new project
- VCS -> Import into Version Control -> Create Git Repository... , then select the project path
- Open project path, find the config file at hidden subfolder .git
Edit config file, add following contents at end:- [remote "origin"]
- url = http://www.yourgitserver.com/repository.git
- fetch = +refs/heads/*:refs/remotes/origin/*
- File -> Synchronize
- That it! Try commit and push your project