commit to the local repository