Can not `git push` into Repl

Problem description:
It is not possible to git push code into a Repl. I have configured SSH access for my Repl, set it as remote in Git with name replit, and ran git push replit main from my machine. It fails.

Expected behavior:
Able to push code into Repl through SSH.

Actual behavior:

$ git push replit main
Welcome to the Replit SSH Proxy.

Visit https://docs.replit.com/power-ups/ssh to learn more about SSH on Replit.
fatal: protocol error: bad line length character: fata
$

Steps to reproduce:

  1. Set up SSH for a Repl.
  2. Set it as remote in a Git project
  3. Run git push replit main

Try pushing again, it might’ve worked.