Dear Maintainer, There is a regression in the behavior of git checkout on a new, uncecked-out git repository: $ git clone --no-checkout <git_repo> /tmp/repo $ git -C /tmp/repo checkout -b <new_branch> <tag> $ ls /tmp/repo <empty, nothing was checked-out> Bug was fixed in v2.21.0 of git. Patch is available [1]. I known v2.23.x is available in experimental/testing/unstable branch, but it would be nice to have it in stable too. Thank you!
Always better with the link: https://github.com/git/git/commit/8424bfd45b291a56594f0289dc6af22e900a1d88 -- Thomas