Added option to initialize git repository and do first commit.