Init git repo before adding remote