replace https protocol by git protocol