<commit_before>#Install some prerequisites for git from apt so we don't have to hunt them down manually
sudo apt-get update
sudo apt-get -y install build-essential gettext libcurl4-gnutls-dev libexpat1-dev

cd /tmp
wget https://git-core.googlecode.com/files/git-1.8.4.tar.gz
tar zxvf git-1.8.4.tar.gz
cd git-1.8.4/
./configure
#Compile it and put it into /usr/local
sudo make prefix=/usr/local all; sudo make prefix=/usr/local install

#remove the source code and tarball so they don't take up space in the final, packaged VM
cd /tmp
rm -rf /tmp/git-1.8.4/ /tmp/git-1.8.4.tar.gz<commit_msg>Added .gitconfig and .gitignore_global setup.<commit_after>#Install some prerequisites for git from apt so we don't have to hunt them down manually
sudo apt-get update
sudo apt-get -y install build-essential gettext libcurl4-gnutls-dev libexpat1-dev

cd /tmp
wget https://git-core.googlecode.com/files/git-1.8.4.tar.gz
tar zxvf git-1.8.4.tar.gz
cd git-1.8.4/
./configure
#Compile it and put it into /usr/local
sudo make prefix=/usr/local all; sudo make prefix=/usr/local install

#remove the source code and tarball so they don't take up space in the final, packaged VM
cd /tmp
rm -rf /tmp/git-1.8.4/ /tmp/git-1.8.4.tar.gz

su - vagrant -c '/tmp/gitconfig > /home/vagrant/.gitconfig'
su - vagrant -c '/tmp/gitignore_global > /home/vagrant/.gitignore_global'

su - vagrant -c '/tmp/gitconfig > /root/.gitconfig'
su - vagrant -c '/tmp/gitignore_global > /root/.gitignore_global'
{'fraction_non_alphanumeric': 0.11937244201909959, 'fraction_numerical': 0.023192360163710776, 'mean_word_length': 3.5277777777777777, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2965992', 'n_tokens_mistral': 549, 'n_tokens_neox': 520, 'n_words': 173}