Setting up your Git repository while you’re in your company domain will bring up some trouble because the connection string is stored in your config. Follow these steps:
- Navigate into the invisible directory “.git” of your repository
- Open the “config”-File with notepad
- Search for “[remote "origin"]”
- Change the value of “URL”
For example, in my case it was git@ci:comwork which works fine, if i have VPN access. If i want to sychronate over the internet, i need to use email@example.com:comwork.git (notice: the suffix .git is optional; replace repository.heco.de with your address).