I have just realised I ran a \'git init\' command from a sub-directory by mistake and then created a master repo at the root of my project.
This was a mistake,
I had created a submodule by mistake by using the git init command in both the parent and the subfolder. Just remove the .git directory and start over with one git init command in the proper directory that you want as the top directory.