I was facing same issue then I read first few lines of this question and I realised that I was trying to run command at the root directory of my bash profile instead of CD/my work project folder.
I switched back to my work folder and able to clone the project successfully