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