git init не нужен, если потом используется git clone.git pull перед git push.
git initgit add .git add README.mdgit commit -m "First commit"git push -u origin masterwarning: LF will be replaced by CRLF in *file_name*
The file will have its original line endings in your working directory.
git rm --cached -- '.DS_Store'
git commit