I just fixed my by manually delete the file under .git/config and thankfully all uncommited changes recover