When trying to clone a repository, I get an error, what am I doing wrong?
I use putty, ssh access.
I clone a repository from Bitbucket via Sourcetree.
FATAL ERROR: Server unexpectedly closed network connection
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Completed with errors, see above.
If you set Clone depth 1 in the cloning settings (the standard depth is 0) then cloning is performed without errors, but then cloning is superficial and so this does not solve my problem.