Added checking for unpushed commits