I copy and pasted an git clone command from a web page: https://fedorahosted.org/ibus-typing-booster/
I got this:
user@host> git clone http://gi
The same issue happened with me when I have just copied the url into the clipboard and then pasted it into the terminal. Rewriting whole the line without copy-past option resolved my issue.