Is there any difference between git clone xxx and git clone xxx.git?

  git, question

git clone https://github.com/octocat/Spoon-KnifeAndgit clone https://github.com/octocat/Spoon-Knife.gitWhat is the difference?

The following is a url, with or without. git depending on the format of the url provided by the resource you are using.
Github is now compatible with two url formats.