Add private repo support for git

Adds support for working with private git repositories.

A git clone tries to fetch the given repository URL. If the server responds with `Authentification required` error, a git login dialog is shown. 

@dinhviethoa 
Not sure why you bothered adding _context: it doesn't seem to be used.
Could you remove it?