If you need a git solution, you can try
git clone --mirror <oldurl> <newurl>
although this is only for naked repositories.
- , , - :
git fetch origin
git branch -r | grep '^ *origin/[^ ]*$' |
while read rb; do git branch --no-track ${rb#*/} $rb; done
git remote rm origin
, , 5000 , ! ( , \ bash - , )
, rsync scp (, -avz?), . ( ?)