Note for mercurial-git / hg-git and https access to github
I needed the patch discussed in here: https://groups.google.com/forum/m/#!topic/hg-git/YVvcRH8R8NI
Then
Add ~/.hgrc:
[extensions] hgext.bookmarks = hgext.git = [auth] xxx.prefix = https://github.com xxx.username = my_user_name xxx.password = my_password
Some web documents are old. Ignore them.
xxx can be anything but I use `github'.
Then
$ hg clone git+https://github.com/my_user_name/blahblah.git
Note: Git branches are handled as Hg bookmarks.