Git unable to create temporary object directory

error: remote unpack failed

Ensure your remote URL has the git username in it, for example:
git remote -v

Should read:
origin git@

If you're getting an error, it may be that you are missing the git@.

For example, this would be wrong: