When I run:
git status
I see this:
rebase in progress; onto 9c168a5
You are currently rebasing branch \'master\' on \'9c1
I got stuck in 'rebase status', I got
On branch master
Your branch is up to date with 'origin/master'.
You are currently rebasing.
(all conflicts fixed: run "git rebase --continue")
nothing to commit, working tree clean
but running git rebase --skip yielded error: could not read '.git/rebase-apply/head-name': No such file or directory.
Running rm -fr ".git/rebase-apply" helped.
Note: of course, do it only if you don't care about the rebase or if you're stuck on a previous rebase you don't want anymore.