Ok, I think I recovered your situation locally, and it looks like RubyMine has terrible support for remote control. If you create a Git repository locally, then (separately) create a repository on GitHub, there is no obvious way to go beyond RubyMine.
Basically, you need to configure GitHub as a remote for your local repository from the shell, and once this is done, RubyMine will be able to execute as usual.
Please note that the instructions below assume that you want to overwrite the GitHub repository with the full history from your local repository. If your GitHub repository has data that you do not want to lose, do not run these commands! See below.
Open terminal:
cd /path/to/my/project/root git remote add origin https:
RubyMine should now be able to click on your GitHub repository via VCS > Git > Push
If your GitHub repository is already installed and you do not want to lose these changes, you need to either create a new GitHub repository or clone the GitHub repository into another folder and merge your local repository into a clone.
You can completely avoid this if you are trying to push the existing local repository to the GitHub repository new : just use the VCS > Import into Version Control > Share project on GitHub
option and use this dialog box to create a new GitHub repository.
source share