I clone my repository with:
git clone ssh://xxxxx/xx.git
But after I change some files and add and commit them,
add
commit
git add .
is all you need. That code tracks all untracked files in your directory.