In git bash (Windows) try to type the code instead of copy pasting. Eg: git push origin master
In gitbash (Windows) try to type the code instead of copy and pasting