Problem
Pushing to git showed this error:
error: RPC failed; result=56, HTTP code = 0
Solution
The problem is the git buffer is too low. After finding the solution I realized I did have a large image that I added to the repository. To fix, run the following command.
git config http.postBuffer 524288000
Thanks to: http://flyingtomoon.com/2011/04/12/git-push-is-failed-due-to-rpc-failure-result56/