Fix synchronization in git stash