How to fix warning: cannot overwrite multiple values with a single value in Git | DevErrors