Gotta git gud, ya know?
git remote set-url <remote> <url>
git remote set-url <remote> git@github.com/<username>/<repository>.git
git remote set-url <remote> https://github.com/<username>/<repository>.git
.gitignore
changesFirst commit any code changes, then run: git rm -r --cached .
and then re-add: git add .
.
To undo: git rm --cached filename
then git add filename
end_of_line = lf
in .editorconfig
..gitattributes
file containing * text=auto eol=lf
.git add --renormalize .
Sources: https://stackoverflow.com/a/42135910, https://git-scm.com/docs/gitattributes#_effects