普通はこう
.git/config
url = https://github.com/ユーザー名/リポジトリ名.git
こうしてやればうまく行く
.git/config
url = https://ユーザー名@github.com/ユーザー名/リポジトリ名.git
自分が所属しているグループのリポジトリにpushするためには.
.git/config
url = https://ユーザー名@github.com/グループ名/リポジトリ名.git
これらをmasterとして登録すると.git pushで両方にpushできるみたい.
.git/config
[remote "origin"]
url = https://ユーザー名@github.com/ユーザー名/リポジトリ名.git
fetch = +refs/heads/*:refs/remotes/origin/*
url = https://ユーザー名@github.com/グループ名/リポジトリ名.git
fetch = +refs/heads/*:refs/remotes/origin/*
多分
[remote "origin"]のところを[remote "mine"]とかにして追加すると,
push先を変更できたりするのかもしれない.