I keep getting this problem with Xcode source control. If I checkout a previous branch and then switch back to my latest branch, sometimes I can no longer push to my remote as it's stuck on loading.
I did find some workarounds which fix the issue like clone the project or use the terminal to push local changes but is there a better solution to fix it within Xcode.
I tried to reconnect my bit bucket account, clean build folder, update Xcode and restart everything but that solved nothing.