What did you do before the bug happened? (Steps to reproduce your issue) - Create a branch with non-ascii character: testbranch-ä - Push to a remote with same name - Delete branch from remote with --force-with-lease: git --force-with-lease --delete origin "testbranch-ä" What did you expect to happen? (Expected behavior) - The branch to be deleted. What happened instead? (Actual behavior) - Git fails with an error error: cannot parse expected object name '32e33fb544d7b1147c446c60220f23a5df465eff"' Anything else you want to add: - The command works if using only --force and not --force-with-lease - The command works if there's no non-ascii character, e.g. "testbranch-x" - Tested with gitlab and github as remotes, with the same error - My locale in git bash is "en_US.UTF-8" - The same happens under Ubuntu 20.04 with git 2.25.1 [System Info] git version: git version 2.27.0.windows.1 cpu: x86_64 built from commit: 907ab1011dce9112700498e034b974ba60f8b407 sizeof-long: 4 sizeof-size_t: 8 uname: Windows 10.0 15063 compiler info: gnuc: 10.1 libc info: no libc information available [Enabled Hooks] None Regards, Frej Bjon