After updating to 4.0 recently I started experiencing this issue. Error: no reference found for shorthand 'origin/HEAD'; class=Reference (4); code=NotFound (-3)  Downgrading back to 3.0 doesn't show the same issue  I saw there was a PR for a similar issue that was merged in quite some time ago. Did that not make it into the new release?