Jordan Savant # Software Engineer

REPO="$1"
ORIGIN="git@origin.address"
NEW="got@new.address"

git clone "$ORIGIN/$REPO.git"
cd $REPO
for remote in `git branch -r | grep -v master`; do git checkout --track $remote; done;
git remote add neworigin "$NEW/$REPO.git"
git push --all neworigin