learn how to git add/commit/diff a code file