Functions to git works