Unfortunately the Eclipse team provider EGit does currently not support to use HTTPS for cloning and pushing.
Fortunately the Git command line supports this (under Linux without problems).
git clone https://email@example.com/vogella/de.vogella.rcp.example.git // do some changes git push https://firstname.lastname@example.org/vogella/de.vogella.rcp.example.git
If you are on Windows and if you are using msysGit then you may receive the following error:
error: error setting certificate verify locations: CAfile: /bin/curl-ca-bundle.crt CApath: none while accessing your_repo
If you have this error you can disable ssl verification to solve it.
git config --global http.sslverify "false"
After this change cloning and pushing works via https on Windows.
Alternative the following should also make msysGit work, but I didn’t test these approaches.
copy C:\Program Files\Git\bin\curl-ca-bundle.crt to c:\bin\curl-ca-bundle.crt
git config --system http.sslcainfo \bin/curl-ca-bundle.crt
[Update:] If you are behind a http proxy you can set the proxy via the following command:
git config --global http.proxy http://proxy:8080 // To check the proxy settings git config --get http.proxy