そのRepositoryに初めてpushする時
$ git init $ git add hoge.f90 $ git commit -m "コメント。日本語でも可。" $ git remote add origin https://github.com/H1r0ak1Y0sh10ka/HOGE.git $ git push -u origin master
それ以降
$ git add hoge.f90 $ git commit -m "コメント。日本語でも可。" $ git push -u origin master
プログラム単位ではなく、そのRepositoryに一度でもpushしたことがあれば、hogehoge.f90をpushする時は、下で大丈夫。