I am trying to create a git repo on localhost. I followed the following tutorial: https://linuxprograms.wordpress.com/2010/05/10/how-to-set-up-a-git-repository-locally/ Everything works fine until I try to make the first push. I get the following error:
fatal: protocol error: bad line length character: JAVA
Many questions similar to this, suggests that I should look for echo statements in .bashrc file. But there are no echo statements there. I get the same error when I try to push to a remote repo as well.