Learn free git tutorials


How to fix git fatal: remote origin already exists issue on git push or add

December 26, 2020 ·  2 min read

To make any application or folder/directory as git enabled, you have to initilize the git init command. Once git is initilized, we have to either create a new repository or existing repository to map this to existing directory. if this directory is created in nested folder of any git repository, git command throws git fatal: remote origin already exists error. What does it origin mean? This error comesn during multiple usecases...