Added check for fortune before using fortune in greeting
Added check for git before using git functions