Correctly add files to be commited.