A few months ago I pushed a project and many problems happened with it, it was very confusing so i just ignored everything and stopped using git. I think it kept pushing another project I worked on before it, and some other problems.
Then i noticed the path of any project i push to my repos include on GitHub my local path. and whenever i push it shows tons of "Untracked files" that have nothing to do with the project.
So, now after a few months i pushed a new project and instead found on the repo two files dated 6 months ago! a css and an html file. I tried again and project is pushed okay but it still includes those to files along with the whole local path.
I can't find it anywhere what this problem could be.
Also, using SSH doesn't work for some reason. I'm new at this so i don't know if it should relate to it all.