Git setup for new repo

Assuming TGT_DIR will be the repository dir Merging with upstream repo if anything went wrong try this .... git reset