PhpStorm各專案需要執行步驟1~3
VMware Server需要執行步驟1~4

1. 查看目前Git遠端伺服器網址:git remote -v

$ git remote -v
origin  https://gitlab.com/Username/Repository.git (fetch)
origin  https://gitlab.com/Username/Repository.git (push)

2. 更換Git遠端伺服器位網址:git remote set-url origin <URL>

$ git remote set-url origin http://gitlabv2.com/Username/Repository.git

3. 確認更換後的Git遠端伺服器位網址:git remote -v

$ git remote -v
origin  https://gitlabv2.com/Username/Repository.git (fetch)
origin  https://gitlabv2.com/Username/Repository.git (push)

4. 更新本機server的host

$ nslookup gitlabv2.com

Non-authoritative answer:
Name:   gitlabv2.com
Address: 10.36.22.193
$ sudo vi /etc/hosts

加上這一行
10.36.22.193    gitlabv2.com

如果使用GitKraken就更簡單了!