def METHOD_NAME(self, msg=None):
    """
    Commit working copy to git repository
    """
    host = socket.gethostname()
    timestamp = time.strftime("%Y-%m-%d_%H-%M-%S")
    user = getpass.getuser()
    completemsg = "%s with EasyBuild v%s @ %s (time: %s, user: %s)" % (msg, VERSION, host, timestamp, user)
    self.log.debug("committing in git with message: %s" % msg)
    self.log.debug("git status: %s" % self.client.status())
    try:
        self.client.METHOD_NAME('-am %s' % completemsg)
        self.log.debug("succesfull commit: %s", self.client.log('HEAD^!'))
    except GitCommandError as err:
        self.log.warning("Commit from working copy %s failed, empty commit? (msg: %s): %s", self.wc, msg, err)
    try:
        info = self.client.push()
        self.log.debug("push info: %s ", info)
    except GitCommandError as err:
        self.log.warning("Push from working copy %s to remote %s failed (msg: %s): %s",
                         self.wc, self.repo, msg, err)