git remote add origin remote_1_url
git remote set-url origin remote_1_url
# Set the default remote branch for the current local branch
git branch --set-upstream master
# or
git push -u origin master
git remote add codecommit remote_2_url
git remote set-url --add --push codecommit remote_2_url
git remote add all remote_1_url
git remote set-url --add --push all remote_2_url
git remote set-url --add --push all remote_1_url
# To origin
git push origin master
# To repo-2
git push repo-2 master
# To ALL
git push all master
git remote rm {{REMOTE-NAME}}