Git, fatal: The remote end hung up unexpectedly

This looks similar to How do I get github to default to ssh and not https for new repositories. Probably it’s worth trying to switch from http protocol to ssh:

$ git remote add origin [email protected]:username/project.git

Leave a Comment