How to fix error: Your local changes to the following files would be overwritten by checkout in Git | DevErrors