I have cloned a repo with
git clone <url> --no-checkout <dir>
Later I checked out a branch like
git checkout default
I am no longer interested in having that branch checked out in my local working folder. So how can I get back to the state after the clone with no branch checked out?
Obviously, just deleting the local files doesn't work.