generate git hash from whatever branch is on instead of always master