Use a git credential to store api key, try to keep the origin in https