Automate the Boring Stuff. Git Push. Git Pull

#!/usr/bin/env bash

dev_path="/home/some/dir"

_pull (){
    echo '------------------------------------'
    echo $1 . ' updating ...'
    cd $1
    git pull
    return 0;
}

_pull "$dev_path/dir_data"
_pull "$dev_path/dir_fuzzdb"
_pull "$dev_path/dir_javascript"
_pull "$dev_path/dir_python"
_pull "$dev_path/dir_other"
_pull "$dev_path/dir_tools"
#!/usr/bin/env bash

now="$(date +'%d/%m/%Y-%H-%M-%S')"
commit_name="auto_commit_$now"

dev_path="/home/some/dir"

_push() {
    echo '------------------------------------'
    echo $1 ' pushing ...'
    cd $1
    git status
    git add .
    git commit -m $commit_name
    git push
    return 0;
}

_push "$dev_path/dir_data"
_push "$dev_path/dir_javascript"
_push "$dev_path/dir_python"
_push "$dev_path/dir_other"
_push "$dev_path/dir_tools"