modified swg-main/utils/buld_java.sh create method for retrieving the current branch name using git symbolic-ref replaced hard coded master branch name with the new method
Multi can be updated with the same method as well, this clears up a few issues when compiling libraries that other scripts reference consts from