ПЕРЕД ПУШЕМ ВЫПОЛНИ ЭТО: git remote set-url origin ssh://git@localhost:2222/
98eb4673b438d2098a1018edb714366f