<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def store_directory(ctx, param, value):
 """Store directory as a new Git home."""

    Path(value).mkdir(parents=True, exist_ok=True)
    set_git_home(value)
    return value