gitのコマンドについて - HondaLab/Robot-Intelligence GitHub Wiki

・git configについて gitconfigの設定は3段階存在する。--systemシステム全体 --globalユーザー全体 --local対象リポジトリ

・gitを入れたとき最初にするべきこと

git config --global user.name アカウント名  
git config --global user.email gitのメアド

これらをすることでcommitpushができるようになる