#!/bin/bash
#
# Git wrapper.
#

# Load functions
LIB="`dirname $0`/../functions"
source "$LIB" || exit 1

# Aditional parameters
CWD="`pwd`"

# Run git command
shift
mkdir -p "$BASEDIR" && cd "$BASEDIR" && git $*
cd "$CWD"
