Create onlyforfetch.java

add new file test for fetch and pull command