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