Why does Git abort checkout with untracked working tree files would be overwritten?
untracked working tree files would be overwritten
The current branch has no commits at all.
Git cannot contact a remote server during checkout.
The requested branch necessarily does not exist.
The target branch tracks a path that currently exists as an untracked local file, so checkout would destroy local data.