Git can be installed using...
• git-osx-installer
• homebrew
•macports
		Note: You just need to add the binaries to your path.
	
Refer to:
• https://help.github.com/articles/set-up-git
- 
			Install the latest Java
			
- http://www.oracle.com/technetwork/java/javase/downloads/index.html
 - 
					set JAVA_HOME
					
- ~/.bash_profile
 - 
							
							
export JAVA_HOME=$(/usr/libexec/java_home) 
 
 
- Install Xcode
 - Install MacPorts
 
		http://www.macports.org/install.php
	- 
			
vi ~/.profileand add:
export MAVEN_OPTS='-Xmx512m -XX:MaxPermSize=512m’ 
- 
			
Install Maven- 
					
sudo port install maven3 - 
					
sudo port select --set maven maven3 
 - 
					
 - Install GIT
 
		sudo port install git-core +svn +doc +bash_completion +gitweb
You may need to set up your details in the config.
git config --global user.name "Bilbo Baggins"
git config --global user.email "This email address is being protected from spambots. You need JavaScript enabled to view it."
Note: This gets saved in ~/.gitconfig
Note: To show all entries
git config --list
git config --global alias.st status
git config --global alias.ci commit
git config --global alias.co checkout
git config --global alias.br branch
git --version
To change the default editor
export EDITOR=notepad2.exe