Hi Rahul,
Please look in the following couple of blog posts I created regarding the use of SAP Web IDE with external Git services.
Want to use GitHub as your Project Repository with SAP Web IDE?
Want to use Bitbucket as your Project Repository with SAP Web IDE?
You should use HTTPS.
Regards,
-- Raz