finally checking whether commit is working or not