gitconfigでcolorやaliasの設定をする

git config --globalコマンドでも設定できるがホームディレクトリに.gitconfigが作られているのでこれを編集

[color]
branch = auto
diff = auto
status = auto
[alias]
st = status
ci = commit -a
br = branch
co = checkout
df = diff
[user]
name = hogehoge
email = hoge@hoge

とりあえずエイリアスと色設定。設定についてはgit config --listで見ることができる