How to fix error: Repository lacks these prerequisite commits in Git | DevErrors