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