Add expanduser to git target directories

Added user (~) expansions on git target directories in `states.git` module