@Faris Raouf
Looks like you've made the correction ok.
This line:
* MOODLE_22_STABLE
above list of all branches in the local repo indicates that's the branch that will be accessed on the 'git pull' command.
Know the following is a little longer than directions given on the docs page, but ... am old and slow ... and very linear!!! :|
git clone git://git.moodle.org/moodle.git moodle24
cd moodle24
git branch -a
git branch --track MOODLE_24_STABLE origin/MOODLE_24_STABLE
git checkout MOODLE_24_STABLE
You might have skipped the git branch --track line above.
I've gotten into a habit NOT to trust myself so after checkout above, I check myself:
fgrep '$release' version.php
while in the directory just cloned will show release information:
$release = '2.4.1+ (Build: 20130118)'; // Human-friendly version name
Should be the one you tracked and checked out.
'spirit of sharing', Ken