getting commit