Move functions.sh to shared.sh

Signed-off-by: Constantin Runge <uroc327@cssbook.de>
include the first few functions for the git fork command

NOTE: These files ain't tested yet!!

Signed-off-by: Constantin Runge <uroc327@cssbook.de>